Regarding Steps to How to compile the 32 bit perl library with 64

Regarding Steps to How to compile the 32 bit perl library with 64

am 20.03.2007 18:21:15 von rchelikam

------_=_NextPart_001_01C76B14.2AD203DE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


HI

Could u pls help on this issue.

=20

Presently we are using the following versions=20

=20

Perl version -------- perl, v5.6.1 built for sun4-solaris

DBD::ORACLE --------- 1.15

DBI version ---------- 1.28

ORACLE -------- oracle 10.2.0.2

=20

=20

I have migrated from oracle 9i to 10g.=20

For this we have compiled the DBD::Oracle driver and I am able to
connect to data base.

=20

=20

But, When I run some scripts related to weekly agrreator.cron ,

i.e

When run the aggregator got the following error:

=20

ld.so.1: cnm_atmfr_aggregator: fatal: libclntsh.so.9.0: open failed: No
such file or directory

Killed

=20

The ld.so.1 file is in the usr/lib directory

=20

I believe this error is coming because The runtime linker rejects the
mismatched 32-bit library or some thing like that.

i.e , This error happens when we try to link 32 bit object files with 64
bit object files

=20

Could u plz tell me, how to resolve this issue=20

=20

And steps for, how to recompile the libraries inorder to solve this
error.

And steps to how to compile the libraries(like make files)

=20

Thanks in Advance.

Fast response would be appreciated.

=20

=20

Regards

Ravi

=20

=20

=20

=20

=20

=20

=20
=20
=20
=20
=20

=20



==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== ====

=20
Disclaimer:

This message and the information contained herein is proprietary and=
confidential and subject to the Tech Mahindra policy statement, you may=
review at =3D"http://www.techmahindra.com/Disclaimer.html">http://www. techmahindra.co=
m/Disclaimer.html
externally and =3D"http://tim.techmahindra.com/Disclaimer.html">http://tim. techmahindra.co=
m/Disclaimer.html
internally within Tech Mahindra.

==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== ====
------_=_NextPart_001_01C76B14.2AD203DE--

RE: Regarding Steps to How to compile the 32 bit perl library with

am 22.03.2007 16:13:47 von rchelikam

------_=_NextPart_001_01C76C94.B0F4D590
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


HI=20

The modification dates on the shared object files (.so) files are old
dates.

The ld.so.1 file is in the usr/lib directory and the date of creation
is 10/27/05 .

In scorept.o file it is xarch=3Dv9 , I think it should be converted to
xarch=3Dv9 in some make file, so that when compile the .mk file,

We may get to xarch=3Dv9 in scorept.o file.

=20

Actually it is giving error as ld.so.1: cnm_atmfr_aggregator: fatal:
libclntsh.so.9.0: open failed: No such file or directory

Killed

But actually it should point to libclntsh.so.10.1 since we migrated
from oracle 9i to 10g.=20

=20

Can u plz tell me the steps how to recompile in order to point to
libclntsh.so.10.1

=20

And also how to check the version of shared object files (.so) files.

=20

=20

Thanks & Regards

Ravi

=20

-----Original Message-----
From: Rana Banerjee [mailto:rbanerje@gmail.com]=20
Sent: Thursday, March 22, 2007 8:15 PM
To: RaviChandra Chelikam
Subject: Re: Regarding Steps to How to compile the 32 bit perl library
with 64 bit oracle ?

=20

check the path and the version and the modification dates on the

shared object files (.so) files you have error on should help you

narrow the cause.

=20

please post what compile options you have used.

=20

=20

thanks,

Rana

=20

On 3/20/07, RaviChandra Chelikam wrote:

>=20

> HI

>=20

> Could u pls help on this issue.

>=20

>=20

>=20

> Presently we are using the following versions

>=20

>=20

>=20

> Perl version -------- perl, v5.6.1 built for sun4-solaris

>=20

> DBD::ORACLE --------- 1.15

>=20

> DBI version ---------- 1.28

>=20

> ORACLE -------- oracle 10.2.0.2

>=20

>=20

>=20

>=20

>=20

> I have migrated from oracle 9i to 10g.

>=20

> For this we have compiled the DBD::Oracle driver and I am able to

> connect to data base.

>=20

>=20

>=20

>=20

>=20

> But, When I run some scripts related to weekly agrreator.cron ,

>=20

> i.e

>=20

> When run the aggregator got the following error:

>=20

>=20

>=20

> ld.so.1: cnm_atmfr_aggregator: fatal: libclntsh.so.9.0: open failed:
No

> such file or directory

>=20

> Killed

>=20

>=20

>=20

> The ld.so.1 file is in the usr/lib directory

>=20

>=20

>=20

> I believe this error is coming because The runtime linker rejects
the

> mismatched 32-bit library or some thing like that.

>=20

> i.e , This error happens when we try to link 32 bit object files with
64

> bit object files

>=20

>=20

>=20

> Could u plz tell me, how to resolve this issue

>=20

>=20

>=20

> And steps for, how to recompile the libraries inorder to solve this

> error.

>=20

> And steps to how to compile the libraries(like make files)

>=20

>=20

>=20

> Thanks in Advance.

>=20

> Fast response would be appreciated.

>=20

>=20

>=20

>=20

>=20

> Regards

>=20

> Ravi

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>=20

>
==================== =====3D=
==================== =====3D=
==================== ==
==================== =====3D=
==================== =====3D=
==

>=20

>=20

> Disclaimer:

>=20

> This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at href=3D"http://www.techmahindra.com/Disclaimer.html">http:// www.techmahind
ra.com/Disclaimer.html externally and href=3D"http://tim.techmahindra.com/Disclaimer.html">http:// tim.techmahind
ra.com/Disclaimer.html internally within Tech Mahindra.

>=20

>
==================== =====3D=
==================== =====3D=
==================== ==
==================== =====3D=
==================== =====3D=
==



==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== ====

=20
Disclaimer:

This message and the information contained herein is proprietary and=
confidential and subject to the Tech Mahindra policy statement, you may=
review at =3D"http://www.techmahindra.com/Disclaimer.html">http://www. techmahindra.co=
m/Disclaimer.html
externally and =3D"http://tim.techmahindra.com/Disclaimer.html">http://tim. techmahindra.co=
m/Disclaimer.html
internally within Tech Mahindra.

==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== =====3D=
==================== ====
------_=_NextPart_001_01C76C94.B0F4D590--